//
//  UILabel+extension.swift
//  MyLottery
//
//  Created by wujunjie on 2018/7/18.
//  Copyright © 2018年 wujunjie. All rights reserved.
//

import UIKit

extension UILabel {
    convenience init(text:String? = nil,textColor:UIColor = UIColor.darkGray,alightment:NSTextAlignment = .left,fontSize:CGFloat = 13,numberOfLines:Int = 0){
        self.init()
        self.text = text
        self.textColor = textColor
        self.textAlignment = alightment
        self.font = UIFont.systemFont(ofSize: fontSize)
        self.numberOfLines = numberOfLines
    }
}
